<%--
  Created by IntelliJ IDEA.
  User: libing
  Date: 2016/7/23
  Time: 11:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <rapid:block name="head">
        <meta charset="UTF-8">
        <title>后台管理</title>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/common.css"/>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/main.css"/>
        <script type="text/javascript" src="${pageContext.request.contextPath }/js/libs/modernizr.min.js"></script>
<%--        <style type="text/css">
            .sidebar-wrap{float: left;width: 20%;min-height:900px;background: #f2f2f2;border-right:1px solid #ccc;/*cursor:e-resize;*/}
        </style>--%>
    </rapid:block>

</head>
<body>
<rapid:block name="top">
    <div id="Header">
        <script language="javascript">
            function showmenu(id){id.style.visibility = "visible";}
            function hidmenu(){UserList.style.visibility = "hidden";}
            document.onclick = hidmenu;
        </script>
        <div class="user"><a id="user_a_id" class="user_a_class" href="javascript:showmenu(UserList)">${username}</a>
            <div id="UserList"><a href="">修改</a>
                <a href="${pageContext.request.contextPath }/admin/logout.action">注销</a>
                <a href="">更多</a></div>
        </div>
    </div>
</rapid:block>

<div class="container clearfix">
    <rapid:block name="left">
        <div class="sidebar-wrap">
            <div class="sidebar-title">
                <h1>菜单</h1>
            </div>
            <div class="sidebar-content">
                <ul class="sidebar-list">
                    <li>
                        <a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
                        <ul class="sub-menu">
                            <li><a href="${pageContext.request.contextPath }/admin/returnResumesInfo.action?status=0"><i class="icon-font">&#xe006;</i>简历管理</a></li>
                            <li><a href="${pageContext.request.contextPath }/Customer/returnCustomerInfos.action?page=1"><i class="icon-font">&#xe008;</i>应聘管理</a></li>
                            <li><a href="${pageContext.request.contextPath }/admin/returnCompanyUsers.action?page=1"><i class="icon-font">&#xe005;</i>招聘管理</a></li>
                            <li><a href="${pageContext.request.contextPath }/Customer/returnAllAdvertisement.action?page=1"><i class="icon-font">&#xe005;</i>广告管理</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
        </div>
    </rapid:block>

    <rapid:block name="main_wrap">

    </rapid:block>
</div>

</body>
</html>
